package com.medicine.manage.block.entity;

import cn.hutool.json.JSONObject;

public class WeBaseResult {
    String errorMessage;
    boolean statusOK;
    JSONObject data;
    String message;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public boolean isStatusOK() {
        return statusOK;
    }

    public void setStatusOK(boolean statusOK) {
        this.statusOK = statusOK;
    }

    public JSONObject getData() {
        return data;
    }

    public void setData(JSONObject data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "{" +
                "message='" + message + '\'' +
                ", statusOK=" + statusOK +
                ", data=" + data +
                '}';
    }
}
